package com.panshi.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class ResponseBean<T> implements Serializable {
    private String code;//响应状态
    private String msg;//响应消息
    private T data;//响应数据
}
